package com.htzg.jardemo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangyan01
 */

@Api(value = "视图 前端控制器")
@Controller
public class ViewController {


    @ApiOperation(value = "首页 页面")

    @RequestMapping("/")
    public String  index() {
        return "forward:static/index.html";
    }



}

